// samsting : this file is auto create.

#include "Slb/2013-02-21/DescribeLoadBalancersResponse.h"

namespace aliyun { namespace Slb {

DescribeLoadBalancersResponse::DescribeLoadBalancersResponse() {
}

const string& DescribeLoadBalancersResponse::LoadBalancer::GetLoadBalancerId(void) const {
  return LoadBalancerId_;
}

const string& DescribeLoadBalancersResponse::LoadBalancer::GetLoadBalancerName(void) const {
  return LoadBalancerName_;
}

const string& DescribeLoadBalancersResponse::LoadBalancer::GetLoadBalancerStatus(void) const {
  return LoadBalancerStatus_;
}

const std::vector<DescribeLoadBalancersResponse::LoadBalancer>& DescribeLoadBalancersResponse::GetLoadBalancers(void) const {
  return LoadBalancers_;
}

const char* DescribeLoadBalancersResponse::BaseKey(void) {
  return "DescribeLoadBalancersResponse";
}

void DescribeLoadBalancersResponse::UnmarshallerMap(std::map<string, string>& response_map) {
  int LoadBalancers__length = 0;
  UnmarshallerInt(LoadBalancers__length, response_map, "DescribeLoadBalancersResponse.LoadBalancers.Length");
  if(LoadBalancers__length >= 0) {
    LoadBalancers_.resize(LoadBalancers__length);
    for(int i1 = 0; i1 < LoadBalancers__length; i1++) {
      UnmarshallerString(LoadBalancers_[i1].LoadBalancerId_, response_map, "DescribeLoadBalancersResponse.LoadBalancers["+string_ValueOfInt(i1)+"].LoadBalancerId");
      UnmarshallerString(LoadBalancers_[i1].LoadBalancerName_, response_map, "DescribeLoadBalancersResponse.LoadBalancers["+string_ValueOfInt(i1)+"].LoadBalancerName");
      UnmarshallerString(LoadBalancers_[i1].LoadBalancerStatus_, response_map, "DescribeLoadBalancersResponse.LoadBalancers["+string_ValueOfInt(i1)+"].LoadBalancerStatus");
    } // for(int i1 = 0; i1 < LoadBalancers__length; i1++) {
  } // if(LoadBalancers__length >= 0) {

}


} } // namespace aliyun { namespace Slb {

// end of file 
